.class public Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field private a:Ljava/util/ArrayList;

.field private b:Lcom/waiqin365/lightapp/kehu/b/an;

.field private c:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

.field private d:Landroid/widget/LinearLayout;

.field private e:Landroid/os/Handler;

.field private f:I

.field private g:Ljava/util/HashMap;

.field private h:Ljava/lang/String;

.field private i:Ljava/util/ArrayList;

.field private j:Ljava/lang/String;

.field private k:Z

.field private l:Ljava/lang/String;

.field private m:Landroid/widget/LinearLayout;

.field private n:Landroid/widget/TextView;

.field private o:Z

.field private p:I

.field private q:Lcom/waiqin365/lightapp/view/SearchView;

.field private r:Z

.field private s:Z

.field private t:Z

.field private u:Lcom/waiqin365/lightapp/view/NoNetView;


# direct methods
.method public constructor <init>()V
    .locals 2

    const/4 v1, 0x1

    const/4 v0, 0x0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    iput v1, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->f:I

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->k:Z

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->o:Z

    iput v1, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->p:I

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->r:Z

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->s:Z

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->t:Z

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;I)I
    .locals 0

    iput p1, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->p:I

    return p1
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->c:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    return-object v0
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;Ljava/lang/String;)Ljava/lang/String;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->l:Ljava/lang/String;

    return-object p1
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;Ljava/util/ArrayList;)Ljava/util/ArrayList;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->i:Ljava/util/ArrayList;

    return-object p1
.end method

.method private a()V
    .locals 1

    new-instance v0, Lcom/waiqin365/lightapp/kehu/ft;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/kehu/ft;-><init>(Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->e:Landroid/os/Handler;

    return-void
.end method

.method private a(I)V
    .locals 3

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->g:Ljava/util/HashMap;

    const-string/jumbo v1, "page.currentPage"

    invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->g:Ljava/util/HashMap;

    const-string/jumbo v1, "nearbyStr"

    const-string/jumbo v2, ""

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->g:Ljava/util/HashMap;

    const-string/jumbo v1, "shortcutKey"

    const-string/jumbo v2, "all"

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->o:Z

    if-nez v0, :cond_0

    const-string/jumbo v0, ""

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->showProgressDialog(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->g:Ljava/util/HashMap;

    const-string/jumbo v1, "queryStr"

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->l:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    invoke-static {p0}, Lcom/waiqin365/base/db/offlinedata/d;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/d;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->g:Ljava/util/HashMap;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/offlinedata/d;->c(Ljava/util/HashMap;)Ljava/util/ArrayList;

    move-result-object v0

    new-instance v1, Landroid/os/Message;

    invoke-direct {v1}, Landroid/os/Message;-><init>()V

    const/16 v2, 0x3f2

    iput v2, v1, Landroid/os/Message;->what:I

    iput-object v0, v1, Landroid/os/Message;->obj:Ljava/lang/Object;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->e:Landroid/os/Handler;

    invoke-virtual {v0, v1}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    :goto_0
    return-void

    :cond_0
    const-string/jumbo v0, ""

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->showProgressDialog(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->g:Ljava/util/HashMap;

    const-string/jumbo v1, "page.recPerPage"

    const-string/jumbo v2, "10"

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->g:Ljava/util/HashMap;

    const-string/jumbo v1, "queryStr"

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->l:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->g:Ljava/util/HashMap;

    const-string/jumbo v1, "menuViewAll"

    const-string/jumbo v2, "1"

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v0, "_token"

    const-string/jumbo v1, ""

    invoke-static {p0, v0, v1}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Lcom/waiqin365/lightapp/kehu/a/a/ab;

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->g:Ljava/util/HashMap;

    invoke-direct {v1, v0, v2}, Lcom/waiqin365/lightapp/kehu/a/a/ab;-><init>(Ljava/lang/String;Ljava/util/HashMap;)V

    new-instance v0, Lcom/waiqin365/lightapp/kehu/a/b;

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->e:Landroid/os/Handler;

    invoke-direct {v0, v2, v1}, Lcom/waiqin365/lightapp/kehu/a/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/kehu/a/c;)V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/a/b;->start()V

    goto :goto_0
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;Z)Z
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->s:Z

    return p1
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;)Ljava/util/ArrayList;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->a:Ljava/util/ArrayList;

    return-object v0
.end method

.method private b()V
    .locals 3

    const/4 v2, 0x0

    const v0, 0x7f0c00cb

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/NoNetView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->u:Lcom/waiqin365/lightapp/view/NoNetView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->u:Lcom/waiqin365/lightapp/view/NoNetView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/NoNetView;->a()V

    const v0, 0x7f0c0131

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/SearchView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->q:Lcom/waiqin365/lightapp/view/SearchView;

    const v0, 0x7f0c04ed

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->m:Landroid/widget/LinearLayout;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->m:Landroid/widget/LinearLayout;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    const v0, 0x7f0c04ee

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->n:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->q:Lcom/waiqin365/lightapp/view/SearchView;

    new-instance v1, Lcom/waiqin365/lightapp/kehu/fu;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/kehu/fu;-><init>(Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/SearchView;->setClearListener(Lcom/waiqin365/lightapp/view/hk;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->q:Lcom/waiqin365/lightapp/view/SearchView;

    const v1, 0x7f0800c4

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/SearchView;->setHint(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->q:Lcom/waiqin365/lightapp/view/SearchView;

    new-instance v1, Lcom/waiqin365/lightapp/kehu/fv;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/kehu/fv;-><init>(Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/SearchView;->setOnSearchKeyChangedListener(Lcom/waiqin365/lightapp/view/hl;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->q:Lcom/waiqin365/lightapp/view/SearchView;

    new-instance v1, Lcom/waiqin365/lightapp/kehu/fw;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/kehu/fw;-><init>(Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/SearchView;->setSearchListener(Lcom/waiqin365/lightapp/view/hm;)V

    const v0, 0x7f0c04f1

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->d:Landroid/widget/LinearLayout;

    const v0, 0x7f0c04ef

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->c:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    new-instance v0, Ljava/util/ArrayList;

    const/4 v1, 0x1

    invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(I)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->a:Ljava/util/ArrayList;

    new-instance v0, Lcom/waiqin365/lightapp/kehu/b/an;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->a:Ljava/util/ArrayList;

    invoke-direct {v0, p0, v1}, Lcom/waiqin365/lightapp/kehu/b/an;-><init>(Landroid/content/Context;Ljava/util/ArrayList;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->b:Lcom/waiqin365/lightapp/kehu/b/an;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->b:Lcom/waiqin365/lightapp/kehu/b/an;

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/kehu/b/an;->b(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->b:Lcom/waiqin365/lightapp/kehu/b/an;

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/kehu/b/an;->a(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->c:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->b:Lcom/waiqin365/lightapp/kehu/b/an;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setAdapter(Landroid/widget/BaseAdapter;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->c:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->f()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->c:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    new-instance v1, Lcom/waiqin365/lightapp/kehu/fx;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/kehu/fx;-><init>(Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setonRefreshListener(Lcom/waiqin365/lightapp/dailyreport/view/z;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->c:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    new-instance v1, Lcom/waiqin365/lightapp/kehu/fz;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/kehu/fz;-><init>(Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setonHistoryListener(Lcom/waiqin365/lightapp/dailyreport/view/aa;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->c:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    new-instance v1, Lcom/waiqin365/lightapp/kehu/ga;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/kehu/ga;-><init>(Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->c:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    new-instance v1, Lcom/waiqin365/lightapp/kehu/gb;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/kehu/gb;-><init>(Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setCustomListviewOnScrollListener(Lcom/waiqin365/lightapp/dailyreport/view/y;)V

    return-void
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;I)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->a(I)V

    return-void
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;)Landroid/widget/LinearLayout;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->d:Landroid/widget/LinearLayout;

    return-object v0
.end method

.method private c()V
    .locals 2

    const/4 v1, 0x1

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->s:Z

    if-eqz v0, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    iput-boolean v1, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->s:Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->l:Ljava/lang/String;

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-lez v0, :cond_0

    iput v1, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->f:I

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->a:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    iget v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->f:I

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->a(I)V

    goto :goto_0
.end method

.method private d()V
    .locals 1

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->k:Z

    if-eqz v0, :cond_0

    const/16 v0, 0x75

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->setResult(I)V

    :cond_0
    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->e()V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->back()V

    return-void
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->r:Z

    return v0
.end method

.method static synthetic e(Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;)Ljava/util/HashMap;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->g:Ljava/util/HashMap;

    return-object v0
.end method

.method private e()V
    .locals 3

    const-string/jumbo v0, "input_method"

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/inputmethod/InputMethodManager;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->getCurrentFocus()Landroid/view/View;

    move-result-object v1

    if-eqz v1, :cond_0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->getCurrentFocus()Landroid/view/View;

    move-result-object v1

    invoke-virtual {v1}, Landroid/view/View;->getWindowToken()Landroid/os/IBinder;

    move-result-object v1

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/view/inputmethod/InputMethodManager;->hideSoftInputFromWindow(Landroid/os/IBinder;I)Z

    :cond_0
    return-void
.end method

.method static synthetic f(Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;)Landroid/widget/LinearLayout;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->m:Landroid/widget/LinearLayout;

    return-object v0
.end method

.method static synthetic g(Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->n:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic h(Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->l:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic i(Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;)Lcom/waiqin365/lightapp/kehu/b/an;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->b:Lcom/waiqin365/lightapp/kehu/b/an;

    return-object v0
.end method

.method static synthetic j(Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;)Ljava/util/ArrayList;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->i:Ljava/util/ArrayList;

    return-object v0
.end method

.method static synthetic k(Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;)I
    .locals 1

    iget v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->f:I

    return v0
.end method

.method static synthetic l(Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;)I
    .locals 1

    iget v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->p:I

    return v0
.end method

.method static synthetic m(Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->o:Z

    return v0
.end method

.method static synthetic n(Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->t:Z

    return v0
.end method

.method static synthetic o(Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->c()V

    return-void
.end method

.method static synthetic p(Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->e()V

    return-void
.end method

.method static synthetic q(Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;)I
    .locals 2

    iget v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->f:I

    add-int/lit8 v1, v0, 0x1

    iput v1, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->f:I

    return v0
.end method

.method static synthetic r(Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->h:Ljava/lang/String;

    return-object v0
.end method


# virtual methods
.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 3

    const/4 v2, 0x1

    packed-switch p2, :pswitch_data_0

    :goto_0
    :pswitch_0
    invoke-super {p0, p1, p2, p3}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onActivityResult(IILandroid/content/Intent;)V

    return-void

    :pswitch_1
    iput-boolean v2, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->k:Z

    const-string/jumbo v0, "labelType"

    const/4 v1, 0x2

    invoke-virtual {p3, v0, v1}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result v0

    if-ne v0, v2, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->i:Ljava/util/ArrayList;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->j:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->contains(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->i:Ljava/util/ArrayList;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->j:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    :cond_0
    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->c()V

    goto :goto_0

    :pswitch_2
    iput-boolean v2, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->k:Z

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->c()V

    goto :goto_0

    nop

    :pswitch_data_0
    .packed-switch 0x72
        :pswitch_2
        :pswitch_0
        :pswitch_1
    .end packed-switch
.end method

.method public onClick(Landroid/view/View;)V
    .locals 1

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :goto_0
    return-void

    :sswitch_0
    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->c()V

    goto :goto_0

    :sswitch_1
    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->d()V

    goto :goto_0

    :sswitch_data_0
    .sparse-switch
        0x7f0c01da -> :sswitch_1
        0x7f0c020c -> :sswitch_0
    .end sparse-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 8

    const-wide/16 v6, 0x4e20

    const/4 v4, 0x0

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    invoke-static {p0}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/app/Activity;)V

    const v0, 0x7f0300c5

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->setContentView(I)V

    invoke-static {p0}, Lcom/waiqin365/base/db/offlinedata/d;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/d;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/d;->a()J

    move-result-wide v0

    invoke-static {p0}, Lcom/waiqin365/base/db/offlinedata/d;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/d;

    move-result-object v2

    invoke-virtual {v2}, Lcom/waiqin365/base/db/offlinedata/d;->b()J

    move-result-wide v2

    cmp-long v0, v0, v6

    if-gtz v0, :cond_0

    cmp-long v0, v2, v6

    if-lez v0, :cond_1

    :cond_0
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->t:Z

    :cond_1
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "isOnline"

    invoke-virtual {v0, v1, v4}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->o:Z

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "intentHashMap"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Ljava/util/HashMap;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->g:Ljava/util/HashMap;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "type"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->h:Ljava/lang/String;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "isAgency"

    invoke-virtual {v0, v1, v4}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->r:Z

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->a()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->b()V

    return-void
.end method

.method public onKeyDown(ILandroid/view/KeyEvent;)Z
    .locals 1

    packed-switch p1, :pswitch_data_0

    :goto_0
    invoke-super {p0, p1, p2}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onKeyDown(ILandroid/view/KeyEvent;)Z

    move-result v0

    return v0

    :pswitch_0
    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;->d()V

    goto :goto_0

    :pswitch_data_0
    .packed-switch 0x4
        :pswitch_0
    .end packed-switch
.end method
